package org.csu.laboratoryequipment.service;

import org.csu.laboratoryequipment.common.CommonResponse;
import org.csu.laboratoryequipment.entity.Equipment;
import org.csu.laboratoryequipment.entity.User;

import javax.xml.crypto.Data;
import java.util.Date;
import java.util.List;

public interface EquipmentService {
    public CommonResponse<List<Equipment>> getEquipmentList();

    public CommonResponse<Equipment> getEquipmentById(String equipmentId);

    public CommonResponse<List<Equipment>> deleteEquipmentById(String equipmentId);

    public CommonResponse<List<Equipment>> postEquipment(String equipmentId, String name, int quantity, String status, String specifications, Date purchaseDate , double purchasePrice, String remarks);

    public CommonResponse<List<Equipment>> putEquipment (String equipmentId, String name, int quantity, String status, String specifications, Date purchaseDate ,double purchasePrice, String remarks);
}
